package com.xuerhua.yxt.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xuerhua.yxt.model.SchoolWechatTemplate;
import com.xuerhua.yxt.view.SchoolWechatTemplateDictView;

public interface SchoolWechatTemplateMapper {

    int insertSelective(SchoolWechatTemplate record);

    SchoolWechatTemplate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SchoolWechatTemplate record);

    int updateByPrimaryKey(SchoolWechatTemplate record);
    
    List<SchoolWechatTemplateDictView> selectListForDict(SchoolWechatTemplate record);
    
    SchoolWechatTemplate selectByTemplateCode(SchoolWechatTemplate record);
    
    String selectTemplateKey(@Param("schoolId") Integer schoolId, 
    		@Param("templateCode") String templateCode);
    
}